package frame.laxcen.response.annotation;

import java.lang.annotation.*;

// 该注解用于 BaseResponse 的子类 规定该类型可解析的 BaseFrame 需要满足的特征
// BaseFrame.isResponse 方法依赖该注解
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(FrameFeatures.class)
public @interface FrameFeature {
    byte MessageType() default -1;
    byte Mid() default -1;
    boolean IsUpload() default false;
}
